package demo1;

public class Dog extends Animal implements IRunning {
    @Override
    public void run() {
        System.out.println(this.name+"正在跑");
    }

    public Dog(String name, int age) {
        super(name, age);
    }
}
